package com.icarsaas.saas.tenant.cars.customer.repository;

import com.icarsaas.saas.component.base.MyBaseRepository;
import com.icarsaas.saas.component.base.MyBaseRepositoryImpl;
import com.icarsaas.saas.tenant.cars.customer.model.Customer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 客户管理接口
 */
public interface CustomerRepository extends CustomerRepositoryCustom, JpaRepository<Customer, String> {

}

/* 自定义接口
 */
interface CustomerRepositoryCustom extends MyBaseRepository<Customer, String> {

}

@Repository
class CustomerRepositoryImpl extends MyBaseRepositoryImpl<Customer, String> implements CustomerRepositoryCustom {

}